package com.amado.course0603break;

public class WhileTest02 {
	public static void main(String[] args) {
		int i=2,j=1,sum=0;
		while(i>0){
			i--;
			while(j<4){
				if(j%3==0){
					break;
				}
				j++;
				sum = sum+j;
			}
			j=1;
		}
		System.out.println(sum);
	}
}
